package com.service;
import java.util.List;
import com.beans.FlowerInfo;

public interface FlowerService {

	int add_flower(FlowerInfo flower);

	List<FlowerInfo> select_all();
/*	
	List<FlowerInfo > queryByPage(FlowerInfo flowerInfo);
*/
	FlowerInfo get_flower(int id);

	int update_flower(FlowerInfo flower);

	int del_flower(int id);

	List<FlowerInfo> flowerList(String flowerName);

}

/*
@Override
public ResponseResult selectAllStudent(Integer pageNum, Integer pageSize) {
    Map<String,Object> map = new HashMap<>();
    PageHelper.startPage(pageNum,pageSize);
    List<Student>  students = studentMapper.selectAllStudents();
    PageInfo pageInfo = new PageInfo(students);
    long total = pageInfo.getTotal();
    map.put("result",pageInfo);
    map.put("count",total);
    return ResponseResultUtil.success(map);
}*/